package VN.EDU.IMIC.DEVELOPER.VUVANLUANLEVEL2.EXR0102;

public class controller {

private models objmodels;
public controller(){
	objmodels = new models();
}
//cac phep toan dieu khien cho tam giac
public double calculatorarea(rectaninformation objrectan){
	return objmodels.calculatorarea(objrectan);
}
public double calculatorperimeter(rectaninformation objrectan){
	return objmodels.calculatorperimeter(objrectan);
}
public String calculatortostring(rectaninformation objrectan){
	return objmodels.calculatortostring(objrectan);
} 
//cac phep toan dieu khien cho luc giac
public double calculatorarealucgiac(rectaninformation objrectan){
	return objmodels.calculatorarealucgiac(objrectan);
}
public double calculatorperimeterlucgiac(rectaninformation objrectan){
	return objmodels.calculatorperimeterlucgiac(objrectan);
	}
	}

